<% 
 /**
  * @Class Name : typeFour.jsp
  * @Description : jquery tab 및 DB insert기능 구현
  * @Modification Information
  * @
  * @  수정일              수정자                   수정내용
  * @ -------    --------    ---------------------------
  * @ 2013.07.18              최초 생성
  *
  *  @author HanbinLee
  *  @since 2013.07.18
  *  @version 1.0
  *  @Environment : apache-tomcat6, JavaSE JSK 1.6, ORACLE 10G, Eclipse
  *
  */
%> 
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<TITLE>상품 등록 팝업</TITLE>
<link rel="stylesheet" href="/${initParam.context_root}/css/type/type4/reset.css" type="text/css">
<link rel="stylesheet" href="/${initParam.context_root}/css/type/type4/jquery-ui-tabs.css" type="text/css">
<link rel="stylesheet" href="/${initParam.context_root}/css/type/type4/type4.css" type="text/css">
<script src="/${initParam.context_root}/js/jquery.min.js" charset="utf-8"></script>
<script src="/${initParam.context_root}/js/jquery.validate.min.js" charset="utf-8"></script>
<script src="/${initParam.context_root}/js/tabs.js" charset="utf-8"></script>
<script src="/${initParam.context_root}/js/type/type4.js" charset="utf-8"></script>
<script src="/${initParam.context_root}/js/type/check.js" charset="utf-8"></script>
<script src="/${initParam.context_root}/js/type/addTabs.js" charset="utf-8"></script>

<script type="text/javascript">
$(function(){
	start();
});
</script>
</HEAD>
<BODY>
	<div id="main">
		<div id="tabs">
			<ul>
				<li><a href="#product">Product</a></li>
			</ul>
			<div id="product">
 			<form id="pInForm" method="post">
				<table>
				<tbody>
				<tr>
					<td class="head">상품명</td>
					<td><input class="in" type="text" id="pName" name="pName" /></td>
				</tr>
				<tr>
					<td class="head">재고량</td>
					<td><input class="in size10" type="text" id="pEa" name="pEa"/><div class="tip">(단위 : 개)</div></td>
				</tr>
				<tr>
					<td class="head">가격</td>
					<td><input class="in size10" type="text" id="pPrice" name="pPrice"/><div class="tip">(단위 : 원)</div></td>
				</tr>
				<tr>
					<td class="head">제조사명</td>
					<td><div id="corpList"></div><button id="regCorp">신규 등록</button>
					<input class="in" type="hidden" id="pCorp" name="pCorp" />
					</td>
				</tr>
				</tbody>
				</table>
				<button class="btn Insert">등 록</button> &nbsp;&nbsp;
				<button class="btn Cancle">취 소</button>
			</form>
			</div>
		</div>
	</div>
</BODY>
</HTML>
